package com.gaoxin.api.service.stuservice;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gaoxin.api.dao.studao.QueryAllCourseMapper;
import com.gaoxin.api.entity.statisentity.Course;
import com.gaoxin.api.entity.statisentity.StudentInfo;

/**
 * 查询学年学期所有课程Service
 * @author zhaozhenshe
 *
 */
@Service
public class QueryAllCourseService {
	@Autowired
	private QueryAllCourseMapper queryAllCourseMapper;
	/**
	 * 查询学年学期的所有课程
	 * @return
	 */
	public StudentInfo queryAllCourseByYearAndTerm(String year,String term)throws Exception{
		return queryAllCourseMapper.queryAllCourseByYearAndTerm(year, term);
	}

}
